package org.ivwsqii.callback;

public class Child {

	private ICallback callback;
	public void work(ICallback back,String str) {
		this.callback = back;
		System.out.println(str);//去工作
		System.out.println("马上去");
	}
	public void workDown(String str) {
		if (callback != null) {
			callback.setResult(str);
			System.out.println("完成");
		}
	}
}
